package com.evaluationSystem.service;

import com.evaluationSystem.entity.Score;
import com.evaluationSystem.entity.dto.ScoreDto;
import com.evaluationSystem.entity.vo.AnalyseInfoVo;
import com.evaluationSystem.entity.vo.ScoreVo;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface ScoreService {
    void saveScoring(Score score);

    Map<String, Object> scoringAnalysePage(ScoreDto scoreDto);

    List<ScoreVo> scoringAnalyse(ScoreDto scoreDto);

    AnalyseInfoVo getAnalyseInfo(ScoreDto scoreDto);

    Map<String, Object> scoringDetail(ScoreDto scoreDto);

    Map<String, Object> scoringSubsidiary(ScoreDto scoreDto);

    void scoringExport(HttpServletResponse response, ScoreDto scoreDto) throws IOException;

    double saveScorResult(Score score,Double quanzhong);
}
